import { reactive } from 'vue'

/**
 * 基础字典
 */
const SText = reactive({
    icon: {
        url: 'https://luoye6.c44.cc/vicon',
        names: ['ant', 'awesome', 'fontawesome', 'ionicons', 'material', 'outline', 'remix', 'uigg', 'unicons'],
        list: {} as { [key: string]: { type: string; param: any }[] },
        obj: {} as any
    },
    code: [
        {
            value: '200',
            label: '成功'
        },
        {
            value: '500',
            label: '系统内部错误'
        },
        {
            value: '600',
            label: '非法操作'
        },
        {
            value: '405',
            label: '请求方式错误'
        },
        {
            value: '404',
            label: '资源未找到'
        },
        {
            value: '403',
            label: '权限过期'
        },
        {
            value: '401',
            label: '未授权'
        },
        {
            value: '400',
            label: '参数列表错误'
        }
    ]
})
export default SText
